/**
 * @description json数组深拷贝
 * */
export function deepCopy<T>(arr: T[]): T[] {
  return JSON.parse(JSON.stringify(arr))
}

export function isString(val: unknown): val is string {
  return typeof val === 'string'
}
